package com.example.turnoverwarning.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class ShopAlertRequest {
    //    @NotNull(message = "店铺id不能为空")
    @TableId(type = IdType.AUTO)
    private Long id;
    //    @NotBlank(message = "邮箱不能为空")
//    @Email(message = "邮箱格式不合法")
    private String mail;

    //    @NotNull(message = "预警值不能为空")
//    @DecimalMin(value = "0.0", inclusive = false, message = "预警值必须大于0")
    private BigDecimal threshold;
}